package com.github.baichuan.application.scaffold.dto.app;

import com.github.baichuan.application.scaffold.jpa.app.AppVersionSpecification;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;

@Schema(title = "APP应用版本查询条件")
@Getter
public class AppVersionQueryCriteria {
    @Schema(title = "APP应用")
    private String appId;

    public AppVersionSpecification specification(){
        return AppVersionSpecification.builder()
                .appId(appId)
                .build();
    }
}
